import torch
print(torch.__version__)

# a = torch.tensor([1, 2, 3])
# c = a.expand(2, 3)
# print(a)
# print(c)
# a = torch.randn(4)
# print(a.expand(5,4))
#
# import torch

a = torch.tensor([1, 9, 3])
print(a)
b = torch.tensor([[2, 2, 2], [3, 3, 3]])
print(b.size())
c = a.expand_as(b)
print(c)
print(c.size())
